<p>
<?php

echo validation_errors();
echo form_open('settings/create');
echo form_label('键名', 'name');
echo form_input('name', '');
echo form_label('键值', 'value');
echo form_input('value', '');
echo form_label('描述', 'description');
echo form_input('description', '');
echo form_label('标签', 'flag');
$options = array('small' => 'Small Shirt', 'med' => 'Medium Shirt', 'large' =>
    'Large Shirt', 'xlarge' => 'Extra Large Shirt', );

$shirts_on_sale = array('small', 'large');

echo form_dropdown('shirts', $options, 'large');
echo form_submit('submit', '提交');

?>

</form>

</p>